//
// Created by 21577 on 2025/3/21.
//
# include<iostream>
# include<cmath>
using namespace std;
int main(){
    //爱心曲线方程：(x^2+y^2-a)^3 - x^2*y^3 = 0
    double a = 0.2;
    double bound = 1.3*sqrt(a);
    double step = 0.05;
    for(double y = bound;y >= -bound; y -= step){
        for(double x = -bound;x <= bound; x += 0.35*step){
            if(pow(pow(x,2)+pow(y,2)-a, 3)-pow(x,2)*pow(y,3)<0){
                cout<<"*";
            }
            else{
                cout<<" ";
            }
        }
        cout<<"\n";
    }
    return 0;
}